package design.FactoryDesign;

import design.SimpleFactory.Icourse;
//测试类
public class test {
    public static void main(String[] args) {
        IcourseFactory ifactory=new JavaCourseFactory();
        Icourse1 course1=ifactory.create();
        course1.record();
    }
}
